package com.nit.netty.annotation;

import com.nit.netty.bean.aware.NettyServerApplicationContextAware;
import com.nit.netty.bean.registrar.NettyServerScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Author: whb
 * @Description:
 * @CreateTime: 2020/8/21 10:11
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({NettyServerScannerRegistrar.class, NettyServerApplicationContextAware.class})
public @interface NettyServerScan {

    String[] basePackages();
}
